package com.firefightingiot.firefightingiot.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

//@Data
@TableName("device_alarm_log_img")//报警图片
public class DeviceAlarmLogImg extends BasisEntity {

    private String id;//主键id
    private String name;//名称
    private String path;//路径
    private String deviceAlarmLogId;//报警日志id
    private Integer type;//文件类型：1 图片 2 视频
    private Integer alarmOrResolve;//报警还是消除：1 报警 2 消除

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getPath() {
        return this.getString("path");
    }

    public void setPath(String path) {
        this.put("path",path);
    }

    public String getDeviceAlarmLogId() {
        return this.getString("deviceAlarmLogId");
    }

    public void setDeviceAlarmLogId(String deviceAlarmLogId) {
        this.put("deviceAlarmLogId",deviceAlarmLogId);
    }

    public Integer getType() {
        return this.getInteger("type");
    }

    public void setType(Integer type) {
        this.put("type",type);
    }

    public Integer getAlarmOrResolve() {
        return this.getInteger("alarmOrResolve");
    }

    public void setAlarmOrResolve(Integer alarmOrResolve) {
        this.put("alarmOrResolve",alarmOrResolve);
    }
}
